import { BaseEntity } from '@cool-midway/core'
import { Column, Entity } from 'typeorm'

@Entity('banner_info')
export class BannerInfoEntity extends BaseEntity {
  @Column({ comment: '名称' })
  name: string

  @Column({ comment: '图片' })
  image: string

  @Column({ comment: '状态', default: 1 })
  status: number

  @Column({ comment: '排序', default: 0 })
  index: number
}
